#!/bin/sh
. ./dbcon.sh

. /u01/app/siebel/siebsrvr/siebenv.sh
/u01/app/siebel/siebsrvr/bin/stop_server all

. /u01/app/siebel/gtwysrvr/siebenv.sh
/u01/app/siebel/gtwysrvr/bin/stop_ns


SIBPROC="watchdog|regss|mwrpcss|siebmtshmw|siebprocmw|siebmtsh|siebproc"
SIBUSER="siebel"

ps -fu $SIBUSER|egrep $SIBPROC |grep -v egrep|awk '{print $2}'| xargs -i kill {}

rm -f crash.txt core.* T*.fdr

